﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using Irony.Ast;
using Irony.Interpreter;
using Irony.Parsing;

namespace ConciseMarkupLanguage.Ast
{
    class TagListNode : AstNode
    {
        public override void Init(ParsingContext context, ParseTreeNode treeNode)
        {
            base.Init(context, treeNode);
            AsString = "tags";
            foreach (var node in treeNode.ChildNodes)
                AddChild(null, node);
        }

        //public override void EvaluateNode(EvaluationContext context, AstMode mode)
        //{
        //    foreach (var node in ChildNodes)
        //        node.Evaluate(context, mode);
        //}
    }
}
